package com.kong.feign.impl;

import com.kong.feign.UserClient;
import org.springframework.stereotype.Component;

/**
 * <dl>
 * <dd>Description: 功能描述</dd>
 * <dd>Company: 大诚若谷信息技术有限公司</dd>
 * <dd>@date：2017/6/14 13:51</dd>
 * <dd>@author：Kong</dd>
 * </dl>
 */
@Component
public class UserClientHystrix  implements UserClient{

    @Override
    public Object search() {
        List<User> users = new ArrayList<>(1);
        users.add(new User("TestHystrixCommand"));
        return users;
    }
}
